#include <algorithms/sort.h>
#include <stdio.h>

int main(void) {
  ElemType elems[8] = {1, 7, 3, 8, 2, 9, 7, 3};

  BubbleSort(elems, 0, 8);

  for (int i = 0; i < 8; ++i) {
    printf("%d\n", elems[i]);
  }

  return 0;
}